package com.tongzhan;

import com.tongzhan.annotation.ApplicationName;
import com.tongzhan.base.BaseApplication;
import com.tongzhan.config.CustomMongoRepositoryFactoryBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
@ApplicationName("云统战乡贤端")
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
@EnableMongoRepositories(repositoryFactoryBeanClass = CustomMongoRepositoryFactoryBean.class)
public class TongzhanXiangxianApplication extends BaseApplication {

    public static void main(String[] args) {
        SpringApplication.run(TongzhanXiangxianApplication.class, args);
    }

}
